<template>
	<h2>Home {{ counter }}</h2>
	<button @click="increment">+1</button>
	<button @click="decrement">-1</button>
</template>

<script>
import useTitle from '@/hooks/useTitle'
import useConter from '../hooks/useCounter'

export default {
	setup() {
		const title = useTitle('home title')

		return {
			...useConter(),
		}
	},
}
</script>

<style scoped></style>
